package com.zxq.ai.domain.exception;

import com.zxq.common.utils.exception.DomainException;
import com.zxq.common.utils.exception.ErrorCode;

/**
 * 不满足奖励兑换条件
 */
public class NotMeetRewardCondition extends DomainException {
    public NotMeetRewardCondition(String message) {
        super(message);
    }

    public NotMeetRewardCondition(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public ErrorCode getCode() {
        return ErrorCode.NOT_MEET_REWARD_CONDITION;
    }
}
